#pragma once
#include "StdAfx.h"

class Thing{
public:
	Thing();
	~Thing();

	virtual void Init();
	virtual void Draw();
	virtual void Update();
	virtual void Reset();

	void SetTexture(LPDIRECT3DTEXTURE9 nTex);
	void SetPos(D3DXVECTOR2 nPos);
	void Setrect(RECT nRect);
protected:
	LPDIRECT3DTEXTURE9 Texture;
	D3DXVECTOR2 this_pos;
	RECT Source;
};
